<!DOCTYPE html	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="/template/template_layout_lrt.xhtml"
	xmlns:s="http://sduept.security.el/func">
	<ui:define name="head">
		<style>
.ui-button, .ui-button span, button.ui-button.ui-state-default span,
	.ui-button.ui-state-default span {
	font-weight: normal
}
</style>
	</ui:define>
	<ui:define name="top-box-tools">
		<h:form id="btnForm">
			<p:confirmDialog global="true" showEffect="fade" hideEffect="fade">
				<p:commandButton value="是" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check" />
				<p:commandButton value="否" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" />
			</p:confirmDialog>
			<p:growl id="msgs" showDetail="true" />
			<p:toolbar id="btnBar"
				rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xjwd') or
					s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xjzwd') or s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xjzb')
					or s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_zmm') or s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_sc')}">
				<f:facet name="left">
					<p:commandButton value="新建维度" icon="ui-icon-document" style="font-weight:normal"
						rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xjwd')}"
						update="crform" oncomplete="PF('createRootDia').show()"
						actionListener="#{kpiEditController.preCreateRoot}" />
					<p:commandButton id="cgBtn" value="新建子维度" icon="ui-icon-document"
						rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xjzwd')}"
						disabled="#{kpiEditController.selectedNode == null || kpiEditController.selectedNodeClassName != 'KpiGroup'}"
						update="cgform" oncomplete="PF('createGroupDia').show()"
						actionListener="#{kpiEditController.preCreateGroup}" />
					<p:commandButton value="新建指标" icon="ui-icon-contact"
						rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xjzb')}"
						disabled="#{kpiEditController.selectedNode == null || kpiEditController.selectedNodeClassName != 'KpiGroup'}"
						update="cnform" oncomplete="PF('createKpiDia').show()"
						actionListener="#{kpiEditController.preCreateKpi}" />
					<p:commandButton value="重命名" icon="ui-icon-pencil"
						rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_zmm')}"
						disabled="#{kpiEditController.selectedNode == null}" update="chnform"
						oncomplete="PF('changeNameDia').show()" />
					<p:commandButton value="删除" icon="ui-icon-trash"
						disabled="#{kpiEditController.selectedNode == null}"
						rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_sc')}"
						update="rightForm:detailGrid,leftForm:tree,btnForm:msgs"
						actionListener="#{kpiEditController.delete}">
						<p:confirm header="提示" message="确定删除 : ''#{kpiEditController.selectedNode.data.name}'' 吗？"
							icon="ui-icon-alert" />
					</p:commandButton>
				</f:facet>
			</p:toolbar>
		</h:form>
	</ui:define>
	<ui:define name="left-box-title">
		指标树
	</ui:define>
	<ui:define name="left-box-body">
		<h:form id="leftForm">
			<p:tree id="tree" var="node" widgetVar="tree" style="border:0" value="#{kpiEditController.root}"
				selection="#{kpiEditController.selectedNode}" selectionMode="single" dynamic="true"
				animate="true" cache="false" showUnselectableCheckbox="false">
				<p:ajax event="collapse" listener="#{kpiEditController.onNodeCollapse}" />
				<p:ajax event="expand" update="tree" listener="#{kpiEditController.onNodeExpand}" />
				<p:ajax event="select" update="rightForm,btnForm:btnBar"
					listener="#{kpiEditController.onNodeSelect}" />
				<p:treeNode type="root">
					<p:outputLabel value="#{node}" />
				</p:treeNode>
				<p:treeNode type="normal" icon="ui-icon-contact">
					<h:outputText value="#{node.name}" />
				</p:treeNode>
				<p:treeNode type="group">
					<h:outputText value="#{node.name}" />
				</p:treeNode>
				<p:treeNode type="dataSource" icon="ui-icon-note">
					<p:outputLabel value="#{node.name}" />
				</p:treeNode>
			</p:tree>
		</h:form>
	</ui:define>
	<ui:define name="right-box-title">
		详细内容
	</ui:define>
	<ui:define name="right-box-body">
		<h:form id="rightForm">
			<p:commandButton value="保存" icon="ui-icon-disk"
				rendered="#{kpiEditController.selectedNode != null and kpiEditController.selectedNodeClassName != 'KpiGroup' and s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xxnr_bc')}"
				update="rightForm:detailGrid,leftForm:tree,btnForm:msgs"
				actionListener="#{kpiEditController.save()}" />
			<p:panelGrid id="detailGrid" style="width:800px">
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column style="text-align:center;font-size:20px" colspan="2">
						<p:outputLabel value="#{kpiEditController.currentKpi.name}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel style="width:100px" value="指标名称：" />
					</p:column>
					<p:column>
						<p:inputText style="width:800px" value="#{kpiEditController.currentKpi.name}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="指标级别：" />
					</p:column>
					<p:column>
						<p:selectOneRadio value="#{kpiEditController.currentKpi.kpiLevel}" layout="grid" columns="6">
							<f:selectItems value="#{kpiEditController.levels}" var="level" itemLabel="#{level.name}"
								itemValue="#{level.id}" />
						</p:selectOneRadio>
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="指标目的：" />
					</p:column>
					<p:column>
						<p:inputTextarea style="width:800px" value="#{kpiEditController.currentKpi.kpiTarget}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="指标可靠度：" />
					</p:column>
					<p:column>
						<p:outputLabel value="#{kpiEditController.currentKpi.reliabilityValue}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="引用指标：" />
					</p:column>
					<p:column>
						<p:rowExpansion>
							<p:panelGrid></p:panelGrid>
							<p:dataTable emptyMessage="无指标！" value="#{kpiEditController.kpiWeights}" var="weight">
								<f:facet name="header">
									<p:commandLink id="childAddBtn" actionListener="#{kpiEditController.preImportKpi}"
										rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xxnr_yyzb')}"
										update="caform" oncomplete="PF('importKpiDia').show()"
										styleClass="ui-icon ui-icon-extlink" />
								</f:facet>
								<p:column headerText="指标">
									#{weight.child.name}
								</p:column>
								<p:column headerText="可靠度">
									#{weight.child.reliabilityValue}
								</p:column>
								<p:column headerText="权重">
									<p:spinner value="#{weight.kpiweight.value}" size="15" stepFactor="0.1" max="1.0" min="0.0" />
								</p:column>
								<p:column headerText="操作">
									<p:commandLink id="childDeletBtn" update="rightForm:detailGrid"
										actionListener="#{kpiEditController.removeImportKpi(weight)}"
										rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xxnr_zbsc')}"
										styleClass="ui-icon ui-icon-trash" style="float:left;margin-right:10px">
										<p:confirm header="提示" message="确定删除该记录吗?" icon="ui-icon-alert" />
									</p:commandLink>
									<p:commandLink id="childViewBtn" update="ciform"
										actionListener="#{kpiEditController.preKpiInfoDia(weight.child)}"
										oncomplete="PF('kpiInfoDia').show()" styleClass="ui-icon ui-icon-search"
										style="float:left;margin-right:10px">
									</p:commandLink>
								</p:column>
							</p:dataTable>
						</p:rowExpansion>
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="数据源：" />
					</p:column>
					<p:column>
						<p:rowExpansion>
							<p:panelGrid></p:panelGrid>
							<p:dataTable emptyMessage="无数据源！" value="#{kpiEditController.dsWeights}" var="weight">
								<f:facet name="header">
									<p:commandLink actionListener="#{kpiEditController.preImportDataSource}" update="isform"
										rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xxnr_yysjy')}"
										oncomplete="PF('importDataSourceDia').show()" styleClass="ui-icon ui-icon-extlink" />
								</f:facet>
								<f:facet name="footer">
									<p:commandLink actionListener="#{kpiEditController.preCreateDataSource}" update="cdform"
										rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xxnr_xjsjy')}"
										oncomplete="PF('createDataSourceDia').show()" styleClass="ui-icon ui-icon-plus" />
								</f:facet>
								<p:column headerText="数据源">
									#{weight.child.name}
								</p:column>
								<p:column headerText="可靠度">
									<p:spinner value="#{weight.child.reliabilityParam}" size="14" stepFactor="1" max="100"
										min="0" />
								</p:column>
								<p:column headerText="权重">
									<p:spinner value="#{weight.kpiweight.value}" size="14" stepFactor="0.1" max="1.0" min="0.0" />
								</p:column>
								<p:column headerText="操作">
									<p:commandLink update="rightForm:detailGrid,leftForm:tree"
										actionListener="#{kpiEditController.removeImportedDataSource(weight)}"
										rendered="#{s:hasPermission(session,'bhyx_bhyxpjzb_yxzbwh_xxnr_sjysc')}"
										styleClass="ui-icon ui-icon-trash" style="float:left;margin-right:10px">
										<p:confirm header="提示" message="确定删除该记录吗?" icon="ui-icon-alert" />
									</p:commandLink>
								</p:column>
							</p:dataTable>
						</p:rowExpansion>
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="公式描述：" />
					</p:column>
					<p:column>
						<p:inputTextarea style="width:800px" value="#{kpiEditController.currentKpi.formulaDesc}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="指标公式：" />
					</p:column>
					<p:column>
						<p:inputTextarea style="width:800px" value="#{kpiEditController.currentKpi.kpiFormula}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="数据源描述：" />
					</p:column>
					<p:column>
						<p:inputTextarea style="width:800px" value="#{kpiEditController.currentKpi.dataSourceDesc}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiNormal'}">
					<p:column>
						<p:outputLabel value="指标用户：" />
					</p:column>
					<p:column>
						<p:inputTextarea style="width:800px" value="#{kpiEditController.currentKpi.user}" />
					</p:column>
				</p:row>

				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column style="text-align:center;font-size:20px" colspan="2">
						<p:outputLabel value="#{kpiEditController.currentDataSource.name}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column>
						<p:outputLabel value="数据源名称：" />
					</p:column>
					<p:column>
						<p:inputText value="#{kpiEditController.currentDataSource.name}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column>
						<p:outputLabel value="本地表名：" />
					</p:column>
					<p:column>
						<p:inputText value="#{kpiEditController.currentDataSource.tableName}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column>
						<p:outputLabel value="数据源来源：" />
					</p:column>
					<p:column>
						<p:inputText value="#{kpiEditController.currentDataSource.sourceDesc}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column>
						<p:outputLabel value="是否可获得：" />
					</p:column>
					<p:column>
						<p:selectBooleanButton onLabel="是" offLabel="否"
							value="#{kpiEditController.currentDataSource.available}" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column>
						<p:outputLabel value="可靠系数：" />
					</p:column>
					<p:column>
						<p:inputText id="reliaInput" value="#{kpiEditController.currentDataSource.reliabilityParam}" />
						<p:slider style="width:170px;" for="reliaInput" minValue="0" maxValue="100" />
					</p:column>
				</p:row>
				<p:row rendered="#{kpiEditController.currentType.simpleName == 'KpiDataSource'}">
					<p:column>
						<p:outputLabel value="可靠度描述：" />
					</p:column>
					<p:column>
						<p:inputTextarea style="width:400px"
							value="#{kpiEditController.currentDataSource.reliabilityDesc}" />
					</p:column>
				</p:row>
			</p:panelGrid>

		</h:form>
		<h:form id="cgform">
			<p:dialog widgetVar="createGroupDia" header="新建子维度" closable="false" resizable="false"
				draggable="false" modal="true" width="350" height="100">
				<p:panelGrid>
					<p:row>
						<p:column>
							<p:outputLabel value="维度名称：" />
						</p:column>
						<p:column>
							<p:inputText size="20" value="#{kpiEditController.currentGroup.name}" />
						</p:column>
					</p:row>
				</p:panelGrid>
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" icon="ui-icon-disk"
							update="btnForm:msgs leftForm:tree rightForm:detailGrid"
							oncomplete="PF('createGroupDia').hide()" actionListener="#{kpiEditController.createGroup}" />
						<p:commandButton value="取消" icon="ui-icon-cancel" update="rightForm:detailGrid"
							oncomplete="PF('createGroupDia').hide()" actionListener="#{kpiEditController.createCancel}" />
					</f:facet>
				</p:toolbar>
			</p:dialog>
		</h:form>
		<h:form id="crform">
			<p:dialog widgetVar="createRootDia" header="新建维度" closable="false" resizable="false"
				draggable="false" modal="true" width="350" height="100">
				<p:panelGrid>
					<p:row>
						<p:column>
							<p:outputLabel value="维度名称：" />
						</p:column>
						<p:column>
							<p:inputText size="20" value="#{kpiEditController.currentGroup.name}"></p:inputText>
						</p:column>
					</p:row>
				</p:panelGrid>
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" icon="ui-icon-disk"
							update="rightForm:detailGrid,btnForm:msgs,leftForm:tree"
							oncomplete="PF('createRootDia').hide()" actionListener="#{kpiEditController.createRoot}" />
						<p:commandButton value="取消" icon="ui-icon-cancel" update="rightForm:detailGrid"
							oncomplete="PF('createRootDia').hide()" actionListener="#{kpiEditController.createCancel}" />
					</f:facet>
				</p:toolbar>
			</p:dialog>
		</h:form>
		<h:form id="cnform">
			<p:dialog widgetVar="createKpiDia" header="新建指标" closable="false" resizable="false"
				draggable="false" modal="true" width="350" height="100">
				<p:panelGrid>
					<p:row>
						<p:column>
							<p:outputLabel value="指标名称：" />
						</p:column>
						<p:column>
							<p:inputText size="20" value="#{kpiEditController.currentKpi.name}"></p:inputText>
						</p:column>
					</p:row>
				</p:panelGrid>
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" icon="ui-icon-disk"
							update="rightForm:detailGrid,btnForm:msgs,leftForm:tree"
							oncomplete="PF('createKpiDia').hide()" actionListener="#{kpiEditController.createKpi}" />
						<p:commandButton value="取消" icon="ui-icon-cancel" oncomplete="PF('createKpiDia').hide()"
							update="rightForm:detailGrid" actionListener="#{kpiEditController.createCancel}" />
					</f:facet>
				</p:toolbar>
			</p:dialog>
		</h:form>
		<h:form id="cdform">
			<p:dialog widgetVar="createDataSourceDia" id="createDataSourceDia" header="新建数据源"
				closable="false" resizable="false" draggable="false" modal="true" width="350" height="150">
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" oncomplete="PF('createDataSourceDia').hide()"
							update="btnForm:msgs,rightForm:detailGrid,leftForm:tree"
							actionListener="#{kpiEditController.createDataSource}" />
						<p:commandButton value="取消" oncomplete="PF('createDataSourceDia').hide()"
							update="rightForm:detailGrid" />
					</f:facet>
				</p:toolbar>
				<p:panelGrid>
					<p:row>
						<p:column>
							<p:outputLabel value="名称：" />
						</p:column>
						<p:column>
							<p:inputText value="#{kpiEditController.currentDataSource.name}" />
						</p:column>
					</p:row>
				</p:panelGrid>
			</p:dialog>
		</h:form>
		<h:form id="chnform">
			<p:dialog widgetVar="changeNameDia" id="changeNameDia" header="重命名" closable="false"
				resizable="false" draggable="false" modal="true" width="350" height="100">
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" oncomplete="PF('changeNameDia').hide()"
							update="btnForm:msgs,rightForm:detailGrid,leftForm:tree"
							actionListener="#{kpiEditController.changeName}" />
						<p:commandButton value="取消" oncomplete="PF('changeNameDia').hide()" />
					</f:facet>
				</p:toolbar>
				<p:panelGrid>
					<p:row>
						<p:column>
							<p:outputLabel value="新名称为："></p:outputLabel>
						</p:column>
						<p:column>
							<p:inputText value="#{kpiEditController.selectedNode.data.name}"></p:inputText>
						</p:column>
					</p:row>
				</p:panelGrid>
			</p:dialog>
		</h:form>
		<h:form id="caform">
			<p:dialog widgetVar="importKpiDia" id="importKpiDia" header="增加引用指标" closable="true"
				resizable="false" draggable="false" modal="true" width="350" height="400">
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" oncomplete="PF('importKpiDia').hide()"
							update="btnForm:msgs,rightForm:detailGrid" actionListener="#{kpiEditController.importKpi}" />
						<p:commandButton value="取消" oncomplete="PF('importKpiDia').hide()" />
					</f:facet>
				</p:toolbar>
				<p:tree id="ctree" var="node" widgetVar="ctree" value="#{kpiEditController.croot}"
					selection="#{kpiEditController.selectedChildNode}" selectionMode="single" dynamic="true"
					animate="true" cache="false" showUnselectableCheckbox="false">
					<p:ajax event="collapse" update="ctree" listener="#{kpiEditController.onCNodeCollapse}" />
					<p:ajax event="expand" update="ctree" listener="#{kpiEditController.onCNodeExpand}" />
					<p:ajax event="select" listener="#{kpiEditController.onCNodeSelect}" />
					<p:treeNode type="croot">
						<p:outputLabel value="#{node.name}" />
					</p:treeNode>
					<p:treeNode type="cnormal" icon="ui-icon-contact">
						<h:outputText value="#{node.name}" />
					</p:treeNode>
				</p:tree>
			</p:dialog>
		</h:form>
		<h:form id="ciform">
			<p:dialog id="kpiInfoDia" widgetVar="kpiInfoDia" closable="true" resizable="false" modal="true"
				showEffect="fade" hideEffect="fade">
				<p:panelGrid id="childInforGrid" style="width:600px;">
					<p:row>
						<p:column style="text-align:center" colspan="2">
							<p:outputLabel value="#{kpiEditController.currentChild.name}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel style="width:100px" value="指标名称：" />
						</p:column>
						<p:column>
							<p:outputLabel style="font-weight:normal;" value="#{kpiEditController.currentChild.name}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel value="指标目的：" />
						</p:column>
						<p:column>
							<p:outputLabel style="font-weight:normal;"
								value="#{kpiEditController.currentChild.kpiTarget}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel value="公式描述：" />
						</p:column>
						<p:column>
							<p:outputLabel style="font-weight:normal;"
								value="#{kpiEditController.currentChild.formulaDesc}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel value="指标公式：" />
						</p:column>
						<p:column>
							<p:outputLabel style="font-weight:normal;"
								value="#{kpiEditController.currentChild.kpiFormula}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel value="数据源描述：" />
						</p:column>
						<p:column>
							<p:outputLabel style="font-weight:normal;"
								value="#{kpiEditController.currentChild.dataSourceDesc}" />
						</p:column>
					</p:row>
					<p:row>
						<p:column>
							<p:outputLabel value="指标用户：" />
						</p:column>
						<p:column>
							<p:outputLabel style="font-weight:normal;" value="#{kpiEditController.currentChild.user}" />
						</p:column>
					</p:row>
				</p:panelGrid>
			</p:dialog>
		</h:form>
		<h:form id="isform">
			<p:dialog id="importDataSourceDia" header="引用数据源" widgetVar="importDataSourceDia" closable="true"
				resizable="false" draggable="false" modal="true" width="350" height="400">
				<p:toolbar>
					<f:facet name="left">
						<p:commandButton value="保存" oncomplete="PF('importDataSourceDia').hide()"
							update="btnForm:msgs,leftForm:tree,rightForm:detailGrid"
							actionListener="#{kpiEditController.importDataSource}" />
						<p:commandButton value="取消" oncomplete="PF('importDataSourceDia').hide()" />
					</f:facet>
				</p:toolbar>
				<p:selectManyCheckbox columns="1" layout="pageDirection"
					value="#{kpiEditController.selectedSourceIds}">
					<f:selectItems value="#{kpiEditController.sources}" var="source" itemLabel="#{source.name}"
						itemValue="#{source.id}" />
				</p:selectManyCheckbox>
			</p:dialog>
		</h:form>
	</ui:define>

</ui:composition>